from aip import AipSpeech
from aip import AipNlp

""" 你的 APPID AK SK """
APP_ID = '16436279'
API_KEY = 'Y4A4TuCxAzrx6haB8PMuQRCP'
SECRET_KEY = 'TYGXDfVQvC4degzeZvZnYhAfx5ubq1y7'

# client = AipSpeech(APP_ID, API_KEY, SECRET_KEY)
nlp_clinet = AipNlp(APP_ID, API_KEY, SECRET_KEY)

print(nlp_clinet.simnet("你今年几岁了","你今年多大了"))
print(nlp_clinet.simnet("你的名字叫什么","你叫什么名字"))
if nlp_clinet.simnet("你的名字叫什么","你是谁").get("score") >= 0.6 :
	print("I am Alexander.DSB.Li")
